import os
import sys

from PySide6.QtCore import Qt
from PySide6.QtWidgets import QApplication

from view.main_window import MainWindow

# create application
QApplication.setHighDpiScaleFactorRoundingPolicy(Qt.HighDpiScaleFactorRoundingPolicy.RoundPreferFloor)

app = QApplication(sys.argv)

# create main window
w = MainWindow()
w.show()

app.exec()